#include <stdio.h>
int main()
{
	FILE* fp;
	char name[20];
	int sc;
	fp = fopen("D:\\tmp\\stu.txt", "r");
	printf("%d\n", ftell(fp));
	while (!feof(fp))
	{
		fscanf(fp, "%s %d\n", name, &sc);
		printf("%s %d\n", name, sc);

	}

	fclose(fp);
	return 0;
}
